class QuestionBean:
    def __init__(self,Word,WordID,PartOfSpeech,QuestionType,Subject,RightAnswer,ItemA,ItemB,ItemC,ItemD,Item_A,Item_B,Item_C,Item_D,WordDetail,HightLight,SpellWord):
        self.Word = Word
        self.WordID = WordID
        self.PartOfSpeech = PartOfSpeech
        self.QuestionType = QuestionType
        self.Subject = Subject
        self.RightAnswer = RightAnswer
        self.ItemA = ItemA
        self.ItemB = ItemB
        self.ItemC = ItemC
        self.ItemD = ItemD
        #选项的标识
        self.Item_A = Item_A
        self.Item_B = Item_B
        self.Item_C = Item_C
        self.Item_D = Item_D
        self.WordDetail = WordDetail

    def getWord(self):
        return self.Word

    def getPartOfSpeech(self):
        return self.PartOfSpeech

    def getWordID(self):
        return self.WordID

    def setWordID(self,wordID):
        self.WordID = wordID

    def getQuestionType(self):
        return self.QuestionType

    def getSubject(self):
        return self.Subject

    def getRightAnswer(self):
        return self.RightAnswer

    def getItemA(self):
        return self.ItemA

    def getItemB(self):
        return self.ItemB

    def getItemC(self):
        return self.ItemC

    def getItemD(self):
        return self.ItemD

    def getItem_A(self):
        return self.Item_A

    def getItem_B(self):
        return self.Item_B

    def getItem_C(self):
        return self.Item_C

    def getItem_D(self):
        return self.Item_D

    def getWordDetail(self):
        return self.WordDetail

    def setWordDetail(self,WordDetail):
        self.WordDetail = WordDetail

    def __str__(self):
        return "word: %s \t wordID: %d \t subject: %s \t rightAnswer: %s \t ItemA: %s \t ItemB: %s \t ItemC: %s"\
               % (self.Word, self.WordID,self.Subject,self.RightAnswer,self.ItemA,self.ItemB,self.ItemC)